/**
 * 
 */
package com.maohi.software.tupuna;

import com.maohi.software.arii.Arii;
import com.maohi.software.arii.exceptions.ActivatorException;
import com.maohi.software.arii.interfaces.Activator;
import com.maohi.software.tupuna.interfaces.TupunaController;

/**
 * @author heifara
 * 
 */
public class ActivatorImpl implements Activator {

	TupunaController controller;

	@Override
	public void init() throws ActivatorException {
	}

	@Override
	public void start() throws ActivatorException {
		controller = Arii.getInstance(TupunaController.class);
		controller.start();
	}

	@Override
	public void stop() throws ActivatorException {
		controller.stop();
	}

}
